Skip to content

Update GitHub Actions to their latest stable versions - #914

Open
Sergio0694 wants to merge 2 commits into
mainfrom
sergio0694-windows-ci-actions-bump
Open

Sergio0694 wants to merge 2 commits into
mainfrom
sergio0694-windows-ci-actions-bump

Conversation

@Sergio0694

@Sergio0694 Sergio0694 commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Fixes

Bumps every GitHub Action in build.yml to its latest stable major (all now run on Node 24), to stop the Node.js deprecation warnings in CI, and points the tooling submodule at the latest tooling main (8e13f5b, includes CommunityToolkit/Tooling-Windows-Submodule#329 and #328).

PR Type

  • Build or CI related changes

What is the current behavior?

CI uses actions on Node 20, which GitHub is deprecating, producing runner warnings. darenm/setup-vstest (latest v1.3) also still runs on Node 20.

What is the new behavior?

Action Old New
actions/checkout v4 v7
actions/setup-dotnet v4 v6
actions/upload-artifact v4 v7
actions/download-artifact v4 v8
al-cheb/configure-pagefile-action v1.4 v1.5
microsoft/setup-msbuild v2 v3
darenm/setup-vstest pinned SHA removed, replaced by tooling/Add-VSTestToPath.ps1
NuGet/login pinned SHA (v1.2.0) v1 (resolves to v1.2.0, the latest release; node24)

Notes:

  • Actions allow-list (needs a settings change): this repo only allows selected actions (verified_allowed: true, github_owned_allowed: false, plus explicit patterns: dorny/test-reporter@v1, testspace-com/setup-testspace@v1, dorny/paths-filter@v2.11.1, darenm/setup-vstest@3a16d909…, al-cheb/configure-pagefile-action@v1.4). The only unverified-creator action in use is al-cheb/configure-pagefile-action, so the pattern al-cheb/configure-pagefile-action@v1.5 must be added to the allow-list (otherwise the workflow fails with startup_failure). The other actions come from verified creators (actions/*, microsoft/*, NuGet/*), as before. The org-level policy couldn't be read with the available token, so it wasn't checked. The old darenm/setup-vstest and @v1.4 patterns can be removed afterwards.
  • darenm/setup-vstest is replaced by shell: pwsh + ./tooling/Add-VSTestToPath.ps1; the step keeps its existing if: for the uwp/wasdk legs.
  • Release notes reviewed for breaking changes: download-artifact v8 fails on digest mismatch and skips unzipping non-zipped downloads (we only use zipped artifacts); upload-artifact v7 direct uploads are opt-in (archive: false, unused); checkout v7's fork-PR block only affects pull_request_target/workflow_run (we use pull_request). No inputs used here were renamed or removed.

Validation

  • Latest versions verified with gh api repos/<owner>/<repo>/releases/latest; each action's action.yml has runs.using: node24.
  • actionlint 1.7.12 (SHA-256 verified): only the pre-existing unknown windows-2025-large runner-label diagnostics, identical to the base.
  • CI itself is the end-to-end check of the new action versions and the VSTest script.

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • Tested code with current supported SDKs
  • Tests for the changes have been added (if applicable)
  • Contains NO breaking changes

…ubmodule#329)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 force-pushed the sergio0694-windows-ci-actions-bump branch from 20f1ce7 to ce8b557 Compare December 5, 2026 01:10
@Sergio0694
Sergio0694 changed the base branch from sergio0694-split-uno-packages to main December 5, 2026 01:10
@Sergio0694
Sergio0694 marked this pull request as ready for review December 5, 2026 01:10
@Sergio0694
Sergio0694 force-pushed the sergio0694-windows-ci-actions-bump branch from ce8b557 to 3921fd7 Compare December 5, 2026 01:12
Replaces darenm/setup-vstest (still on Node 20) with tooling/Add-VSTestToPath.ps1.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 force-pushed the sergio0694-windows-ci-actions-bump branch from 3921fd7 to 4a9f28e Compare December 5, 2026 01:19

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant